<div class="col-md-4 content" ng-controller="groupAddCtrl">
	<h2>创建用户组</h2>
	<hr>
	<form>
		<div class="form-group">
			<label>名称</label>
			<input type="text" class="form-control" name="g_name" ng-model="group.g_name" placeholder="组名"></div>
		<div class="form-group">
			<label>简要描述</label>
			<textarea rows="6" class="form-control" ng-model="group.describle" name="describle" placeholder="简要描述"></textarea>
		</div>
		<div class="from-group">
			<label>用户</label>
			<div>
				<ul ng-repeat="user in users">
					<li class="checkbox-inline">
						<label>
						  	<input type="checkbox" ng-model="group.selected" value="{{user.id}}"> {{user.uname}}
						</label> 
					</li>
				</ul>
			</div>
		</div>
		<div class="form-group">
			<button type="submit" class="btn btn-default" ng-click="back()">取消</button>
			<button type="submit" class="btn btn-primary" ng-click="save(group)">添加</button>
		</div>
	</form>
</div>